# -*-coding: utf-8 -*-
"""
    @Theme   : Sample Chat Room
    @Time    : 2024/6/18 16:13
    @Author  : YamFish
    @Url     : https://www.zhihu.com/people/yamfish
"""
from flask import Flask

from .redis_utils import RedisClient

app = Flask(__name__)
app.config.from_pyfile('settings.py')

r_client = RedisClient(
    app.config['REDIS_HOST'],
    app.config['REDIS_PORT'],
    app.config['REDIS_PASSWORD'])

from . import views, commands
